//
//  NSObject+Notification.h
//  
//
//  Created by sealedace on 20/8/14.
//  Copyright (c) 2014 Sealed Company. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^NotificationHandler)(NSString *notificationName, NSDictionary *userInfo);

@interface NSObject (Notification)

- (void)addListenerForNotificationName:(NSString *)notificationName handler:(NotificationHandler)handler;
- (void)removeListenerForNotificationName:(NSString *)notificationName;

@end
